﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PPI.Entities.Lookup;

namespace PPI.Entities.Remedy
{
    public class ERemedyStatus : ELookupBase
    {
        public ERemedyStatus()
            :base()
        {
        }

        public ERemedyStatus(Int32 id)
        :this()
        {
            Id = id;
        }

        public ERemedyStatus(Int32 id, string name)
            :this(id)
        {
            Name = name;
        }

        public override bool Equals(object obj)
        {
            if(obj is ERemedyStatus)
            {
                ERemedyStatus tmpRemedyStatus = (ERemedyStatus) obj;
                return tmpRemedyStatus.Id == this.Id;
            }else
            {
                return false;
            }
        }
    }
}
